import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:fluttertoast/fluttertoast.dart';
import 'package:panda/base/Constant.dart';
class TempPage extends StatefulWidget {
  TempPage({Key key}) : super(key: key);

  @override
  _TempPageState createState() => _TempPageState();
}

class _TempPageState extends State<TempPage> {
  @override
  void initState() {
    // TODO: implement initState
    super.initState();
       
  }
  @override
  Widget build(BuildContext context) {
    return new Scaffold(
       appBar: new AppBar(
        title: new Text(
          "选品中心",
          style: TextStyle(
              fontSize: ScreenUtil.getInstance().setSp(BIG_FONT_SIZE),
              color: Colors.black),
        ),
        elevation: 0.5,
        backgroundColor: Colors.white,
        brightness: Brightness.light,
        centerTitle: true,
        iconTheme: new IconThemeData(color: Colors.black),
      ),
      body: SingleChildScrollView(
        child: GestureDetector(
          onTap: () {
              Fluttertoast.showToast(msg: "攻城狮正在加紧开发，敬请期待哦");
          },
          behavior: HitTestBehavior.opaque,
          child:Container(
          height: MediaQuery.of(context).size.height,
          child: Image.asset("images/tt.png",alignment: Alignment.topCenter,fit: BoxFit.fitWidth,),
        )
        ),
      ),
    );
  }
}